package com.ms.domain.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class ReviewDTO {
    @NotNull(message = "音乐ID不能为空")
    private Integer musicId;

    @NotBlank(message = "审核状态不能为空")
    @Pattern(regexp = "APPROVED|REJECTED", message = "状态必须是APPROVED或REJECTED")
    private String status;

    @Size(max = 200, message = "反馈信息不能超过200字符")
    private String feedback; // 拒绝原因
}